Optimal. Leaf size=49 \[ \frac{1}{2} x^2 \sqrt{a+\frac{b}{x^4}}-\frac{1}{2} \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b}}{x^2 \sqrt{a+\frac{b}{x^4}}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0366982, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.385, Rules used = {335, 275, 277, 217, 206} \[ \frac{1}{2} x^2 \sqrt{a+\frac{b}{x^4}}-\frac{1}{2} \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b}}{x^2 \sqrt{a+\frac{b}{x^4}}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 335
Rule 275
Rule 277
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \sqrt{a+\frac{b}{x^4}} x \, dx &=-\operatorname{Subst}\left (\int \frac{\sqrt{a+b x^4}}{x^3} \, dx,x,\frac{1}{x}\right )\\ &=-\left (\frac{1}{2} \operatorname{Subst}\left (\int \frac{\sqrt{a+b x^2}}{x^2} \, dx,x,\frac{1}{x^2}\right )\right )\\ &=\frac{1}{2} \sqrt{a+\frac{b}{x^4}} x^2-\frac{1}{2} b \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,\frac{1}{x^2}\right )\\ &=\frac{1}{2} \sqrt{a+\frac{b}{x^4}} x^2-\frac{1}{2} b \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{1}{\sqrt{a+\frac{b}{x^4}} x^2}\right )\\ &=\frac{1}{2} \sqrt{a+\frac{b}{x^4}} x^2-\frac{1}{2} \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{a+\frac{b}{x^4}} x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0271326, size = 66, normalized size = 1.35 \[ \frac{x^2 \sqrt{a+\frac{b}{x^4}} \left (\sqrt{a x^4+b}-\sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{a x^4+b}}{\sqrt{b}}\right )\right )}{2 \sqrt{a x^4+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.011, size = 65, normalized size = 1.3 \begin{align*} -{\frac{{x}^{2}}{2}\sqrt{{\frac{a{x}^{4}+b}{{x}^{4}}}} \left ( \sqrt{b}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{a{x}^{4}+b}+b}{{x}^{2}}} \right ) -\sqrt{a{x}^{4}+b} \right ){\frac{1}{\sqrt{a{x}^{4}+b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.65713, size = 271, normalized size = 5.53 \begin{align*} \left [\frac{1}{2} \, x^{2} \sqrt{\frac{a x^{4} + b}{x^{4}}} + \frac{1}{4} \, \sqrt{b} \log \left (\frac{a x^{4} - 2 \, \sqrt{b} x^{2} \sqrt{\frac{a x^{4} + b}{x^{4}}} + 2 \, b}{x^{4}}\right ), \frac{1}{2} \, x^{2} \sqrt{\frac{a x^{4} + b}{x^{4}}} + \frac{1}{2} \, \sqrt{-b} \arctan \left (\frac{\sqrt{-b} x^{2} \sqrt{\frac{a x^{4} + b}{x^{4}}}}{b}\right )\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.72732, size = 66, normalized size = 1.35 \begin{align*} \frac{\sqrt{a} x^{2}}{2 \sqrt{1 + \frac{b}{a x^{4}}}} - \frac{\sqrt{b} \operatorname{asinh}{\left (\frac{\sqrt{b}}{\sqrt{a} x^{2}} \right )}}{2} + \frac{b}{2 \sqrt{a} x^{2} \sqrt{1 + \frac{b}{a x^{4}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11005, size = 49, normalized size = 1. \begin{align*} \frac{b \arctan \left (\frac{\sqrt{a x^{4} + b}}{\sqrt{-b}}\right )}{2 \, \sqrt{-b}} + \frac{1}{2} \, \sqrt{a x^{4} + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]